package com.guli.mall.wms.service;

import com.baomidou.mybatisplus.extension.service.IService;
import com.guli.common.utils.PageUtils;
import com.guli.mall.wms.entity.PurchaseDetailEntity;
import com.guli.mall.wms.entity.vo.PurchaseDetailWithKeyVo;
import com.guli.mall.wms.entity.vo.PurchaseDetailWithSkuNameVo;

import java.util.List;

/**
 * 
 *
 * @author 罗俊华
 * @email 1007052116@qq.com
 * @date 2020-09-29 21:37:28
 */
public interface PurchaseDetailService extends IService<PurchaseDetailEntity> {

    PageUtils<PurchaseDetailWithSkuNameVo> queryPage(Integer currentPage, Integer size, PurchaseDetailWithKeyVo purchaseDetailWithKeyVo);

    // 根据purchaseId 查询 purchaseDetailEntity
    List<PurchaseDetailEntity> getPurchaseDetailByPurchaseId(Long purchaseId);
}

